/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package transervfx.Dato.Validacion;

/**
 *
 * @author oscar
 */

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;
 
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
 
import javax.validation.Constraint;
import javax.validation.Payload;
 
@Target({ METHOD, FIELD, ANNOTATION_TYPE })
@Retention(RUNTIME)
@Constraint(validatedBy = NoExisteUsuarioValidator.class)
@Documented
public @interface NoExisteUsuario {
 
    String message() default "{transervfx.Dato.Validar.NoExisteUsuario}";
 
    Class<?>[] groups() default {};
     
    Class<? extends Payload>[] payload() default {};
     
}